/*
 * rx55_functions.h
 * Created on August 5, 2005; 6:08 PM
 * by vramadurai
 */
#ifndef _RX55_FUNCTIONS_H_
#define _RX55_FUNCTIONS_H_

#include "HsTypes.h"

hs_uint8_t descramble_55mbps(
                                hs_uint8_t ucTempBit,
                                hs_uint8_t * pucStateTable4Bit,
                                struct HS_Phy11bStr  *HS_Phy11bPtrTh,
                                hs_int32_t bitcount
                            );
hs_uint32_t crc_4bit(
                hs_uint8_t ucDemodBitSeq,
                hs_uint32_t * piCrc32Table_4bit,
                struct HS_Phy11bStr  *HS_Phy11bPtrTh
             );


hs_int32_t cck_55mbps(
                    hs_int16_t * restrict iq_in,
                    hs_int16_t * restrict usAbsCorr,
                    hs_int16_t * restrict asTempBufI,
                    hs_int16_t * restrict asTempBufQ,
                    hs_int16_t * restrict psHalfRateCckSeq
               );


void wlan_do_55mbps(
                        struct HS_Phy11bStr  *HS_Phy11bPtrTh,
                        ePHYSTATES_TH *ePhyState,
                        hs_int32_t NSymbols,
						hs_int16_t *ssSineCosineTable
                    );


#endif
